w = eval(input("请输入您的体重："))
h = eval(input("请输入您的身高："))
bim = w / pow(h, 2)
if bim < 18.5:
    i = "过轻"
elif bim < 25:
    i = "正常"
elif bim < 28:
    i = "过重"
elif bim < 32:
    i = "肥胖"
else:
    i = "严重肥胖"
print("BIM为：{:.2f}，{}".format(bim, i))